package com.yaowk.api.system.service;

import com.yaowk.api.common.IBaseService;
import com.yaowk.api.system.model.Role;

import java.util.List;

public interface IRoleService extends IBaseService<Role, Integer> {

    List<Role> findRolesByUserId(Integer id);

    void menuEdit(Integer roleId, List<Integer> menuIds);

    void menuAdd(Integer roleId,Integer menuId);
}
